﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="1005.aspx.cs" Inherits="_1005" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="conent-R-inner">
        <div id="nav">
            <a href="index.aspx"><% Response.Write("首頁".ConverToCN());%></a><img src="css/tem/img/img-icon-4.jpg" width="5" height="7" /><a><% Response.Write("教育研究".ConverToCN());%></a><img src="css/tem/img/img-icon-4.jpg" width="5" height="7" /><a><b><% Response.Write("研究論文".ConverToCN());%></b></a>
        </div>
        <div class="clr">
        </div>
        <div class="news-head">
        </div>
        <div>
            <cc1:GridView ID="GridView1" runat="server" DataSourceID="ObjectDataSource1" AutoGenerateColumns="False"
                AllowPaging="True" EmptyDataText="目前無資料" OnRowCommand="GridView1_RowCommand"
                BorderWidth="0px" CellPadding="0" CellSpacing="1" Width="740px" 
                onrowdatabound="GridView1_RowDataBound" GridLines="None">
                <Columns>
                    <asp:TemplateField HeaderText="研究類別">
                        <ItemTemplate>
                            <asp:Label ID="Label4" runat="server" Text='<%# Eval("res_type").GetClaType().ConverToCN() %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle CssClass="green"></HeaderStyle>
                        <ItemStyle Width="20%" CssClass="dotline-1" HorizontalAlign="Center" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="研究主題">
                        <ItemTemplate>
                            <asp:LinkButton CssClass="news-subject" ID="LinkButton1" runat="server" CommandName='<%# Eval("res_no") %>'><%# Eval("res_title").ConverToCN()%></asp:LinkButton>
                        </ItemTemplate>
                        <HeaderStyle CssClass="green"></HeaderStyle>
                        <ItemStyle Width="45%" CssClass="dotline-1" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="作者">
                        <ItemTemplate>
                            <asp:Label ID="Label2" runat="server" Text='<%# Eval("res_author").ConverToCN() %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle CssClass="green"></HeaderStyle>
                        <ItemStyle Width="18%" CssClass="dotline-1" HorizontalAlign="Center" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="發布時間">
                        <ItemTemplate>
                            <asp:Label ID="Label1" runat="server" Text='<%# Eval("res_datetime").ConvertToShowDT() %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle CssClass="green"></HeaderStyle>
                        <ItemStyle Width="17%" CssClass="dotline-1" HorizontalAlign="Center" />
                    </asp:TemplateField>
                </Columns>
                <HeaderStyle HorizontalAlign="Center" />
            </cc1:GridView>
        </div>
        <div class="pager">
            <asp:DataPager ID="DataPager1" runat="server" PagedControlID="GridView1" PageSize="25">
                <Fields>
                    <CCH:GooglePagerField />
                </Fields>
            </asp:DataPager>
        </div>
    </div>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}"
         SelectMethod="Get_research_Data"
        TypeName="CCH.DAO.researchDAO" 
        SelectCountMethod="Get_research_DataCount" EnablePaging="True">
    </asp:ObjectDataSource>
</asp:Content>

